<%--
  Created by IntelliJ IDEA.
  User: lbw
  Date: 2021/4/1
  Time: 9:15
  To change this template use File | Settings | File Templates.
--%>
<%@ page import="com.lbw.model.Student" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    request.setCharacterEncoding("UTF-8");
    String name = request.getParameter("name");
    String stuId = request.getParameter("stu-id");
    String age = request.getParameter("age");
    String grade = request.getParameter("grade");
%>

<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>StudentInfo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="${pageContext.request.contextPath}/static/css/style.css">

</head>
<body>

<table>
    <caption>Student Information</caption>
    <thead>
    <tr>
        <th scope="col">Name</th>
        <th scope="col">StudentId</th>
        <th scope="col">Age</th>
        <th scope="col">Grade</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td scope="row"><%=name%>
        </td>
        <td><%=stuId%>
        </td>
        <td><%=age%>
        </td>
        <td><%=grade%>
        </td>
    </tr>
    </tbody>
</table>

</body>
</html>

